home *** CD-ROM | disk | FTP | other *** search
-
- RENUMBER
-
-
- Written by: Charles Moehringer
-
- BASIC Renumber
- PowerPlay Magazine, May 1985
- Page 62
-
-
- Have you ever thought of a great
-
- new feature to add to one of your
-
- programs and the lines look like this?
-
- .
- .
- 101 PRINT"THIS LINE IS FULL"
- 102 PRINT"THIS LINE IS FULL TOO"
- 103 PRINT"GUESS WHAT?? THIS ONE TOO"
- .
- .
-
-
- Your new feature needs to be put right
-
- between lines 101 and 102. What is
-
- the aspiring programmer to do??
-
- Well, now you have the answer!
-
- With this program which renumbers a
-
- BASIC program, all of your problems
-
- are solved.
-
- The program, when RUN, asks for the
-
- file name of the program to be
-
- renumbered. It then asks for the
-
- line number on which to start the
-
- renumbering as well as the desired
-
- increment between lines. When the
-
- final READY prompt appears, your
-
- program is renumbered and ready to
-
- RUN (we suggest SAVEing this new
-
- version, just in case).
-
- The maximum length of the program
-
- to be renumbered is about 36K. This
-
- makes it possible to renumber almost
-
- any program. Also, don't expect
-
- instant results. The computer has to
-
- do a lot of work to get your program
-
- renumbered. By the way, this program
-
- DOES take care of branching statements
-
- (GOTO, GOSUB etc...) in your program.
-
-
- Because of the nature of this
-
- program, it does NOT link back to
-
- LOADSTAR. Please be sure that you
-
- want to RUN this program before you
-
- do so.
-
-
- This program is copyrighted by
-
- PowerPlay magazine. All rights to it
-
- are reserved. LOADSTAR has relieved
-
- you from the burden of keying in this
-
- program. For more complete
-
- information about this program, refer
-
- to the May 1985 issue of PowerPlay
-
- Magazine.
-
-
-
- >Files used: RENUMBER
- RENUMBER-BASIC
-
- --------------------------------------
-